package jannex.mapping;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Column {

    /**
     * The name of the column, defaults to field name.
     */
    String value() default "";

    boolean id() default false;

    String type() default "";

    boolean insertable() default true;

    boolean updatable() default true;

    boolean selectable() default true;

}
